<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../vue.js"></script>
</head>
<body>
<div>
    <ul id="app">
        <li v-for="item,index in items" v-bind:key="index">
            {{index}} {{item.message}}
        </li>
    </ul>
</div>

<div id="app-2">
    <ul>
        <li v-for="item,key in obj" v-bind:key="key">
            {{key}}: {{item}}
        </li>
    </ul>
</div>

<script>
    var app = new Vue({
        el: '#app',
        data: {
            items: [
                {message:"rolling"},
                {message:"ball"},
                {message:"bollu"}
            ]
        }
    })

    var app2 = new Vue({
        el: '#app-2',
        data: {
            obj:{
                name:"rollingball",
                age:23
            }
        }
    })
</script>

</body>
</html>